using UnityEngine;

public class BallFlightConstants : ScriptableObject
{
	private static BallFlightConstants instance_;

	public float airDensity = 1.2f;

	public float dragCoeff = 0.5f;

	public float liftCoeff = 0.3f;

	public float coeffRestitution = 0.7f;

	public float coeffFriction = 0.17f;

	public float hysteresisFactor = 0.02f;

	public float coeffRestitutionNet = 0.3f;

	public float netElasticityFactor = 10f;

	public float netFrictionFactor = 0.2f;

	public float maxNetBendingAngle = 30f;

	public float maxNetBendingHeightInRadiusMultiples = 2f;

	public static BallFlightConstants instance
	{
		get
		{
			if (instance_ == null)
			{
				instance_ = Resources.Load("BallFlightConstants", typeof(BallFlightConstants)) as BallFlightConstants;
			}
			return instance_;
		}
	}
}
